#ifndef ERROR_CODES_H
#define ERROR_CODES_H

enum error_codes_t {
    EC_OK = 0,
    EC_E_INVALID_PARAM,
    EC_E_OUT_OF_MEMORY,
    EC_E_NULL_PTR,

    EC_E_CHECKSUM_ERROR,

    EC_NOT_CONNECTED,

    EC_PROTOBUF_PARSE_FAILED,
    EC_PROTOBUF_SEARILIZE_FAILED,

    EC_LOGIN_FAILED,
    EC_REGISTER_FAILED,

    EC_MATCHING_FAILED,

    EC_WEAK_PTR_EXPIRED,

    EC_OTHER
};

#endif // ERROR_CODES_H